package com.medusa.aps.business.modules.plan.mp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.medusa.aps.business.model.pagination.Page;
import com.medusa.aps.business.modules.demand.model.input.ControlDetailParam;
import com.medusa.aps.business.modules.demand.model.output.ScheduleDetailSelfModel;
import com.medusa.aps.business.modules.plan.model.input.SuggestedPlanListParam;
import com.medusa.aps.business.modules.plan.mp.entity.SuggestedPlan;

/**
 * 建议计划服务接口
 *
 * @author yuxh
 * @since 2023-08-14 17:37:50
 */
public interface SuggestedPlanService extends IService<SuggestedPlan> {

    /**
     * 建议计划分页查询
     *
     * @param param 分页查询参数
     * @return 分页查询结果
     */
    Page<SuggestedPlan> queryPage(SuggestedPlanListParam param);
    /**
     * 排程明细-自制生产
     *
     * @param controlDetailParam 排程明细接收参数
     * @param page               分页参数
     * @return 分页结果
     */
    Page<ScheduleDetailSelfModel> selfControl(ControlDetailParam controlDetailParam, Page<ScheduleDetailSelfModel> page);

}

